# 设置基础镜像
FROM nginx
# 自定义nginx配置文件
COPY nginx/default.conf /etc/nginx/conf.d
# 将dist文件中的内容复制到 /usr/share/nginx/html/ 这个目录下面
COPY dist/  /usr/share/nginx/html/
# nginx的ssl证书，开启https
# COPY nginx/cert /etc/nginx/cert
CMD ["nginx", "-g", "daemon off;"]
